--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:eec5b0aece4a1bec83503e917b3a3d2f$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- c0_1
            x=2,
            y=256,
            width=268,
            height=252,

        },
        {
            -- c0_2
            x=2,
            y=764,
            width=246,
            height=252,

            sourceX = 22,
            sourceY = 0,
            sourceWidth = 268,
            sourceHeight = 252
        },
        {
            -- c0_3
            x=272,
            y=2,
            width=232,
            height=252,

            sourceX = 36,
            sourceY = 0,
            sourceWidth = 268,
            sourceHeight = 252
        },
        {
            -- c0_4
            x=2,
            y=510,
            width=246,
            height=252,

            sourceX = 22,
            sourceY = 0,
            sourceWidth = 268,
            sourceHeight = 252
        },
        {
            -- c0_5
            x=2,
            y=2,
            width=268,
            height=252,

        },
    },
    
    sheetContentWidth = 512,
    sheetContentHeight = 1024
}

SheetInfo.frameIndex =
{

    ["c0_1"] = 1,
    ["c0_2"] = 2,
    ["c0_3"] = 3,
    ["c0_4"] = 4,
    ["c0_5"] = 5,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
